package cn.lacknb.beans;

public class Friend {

    private Integer friend_id;
    private String friend_name;
    private String friend_sex;
    private Integer user_id;
    private User user;

    public Friend() {
    }

    public Friend(String friend_name, String friend_sex, Integer user_id) {
        this.friend_name = friend_name;
        this.friend_sex = friend_sex;
        this.user_id = user_id;
    }

    public Integer getFriend_id() {
        return friend_id;
    }

    public void setFriend_id(Integer friend_id) {
        this.friend_id = friend_id;
    }

    public String getFriend_name() {
        return friend_name;
    }

    public void setFriend_name(String friend_name) {
        this.friend_name = friend_name;
    }

    public String getFriend_sex() {
        return friend_sex;
    }

    public void setFriend_sex(String friend_sex) {
        this.friend_sex = friend_sex;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Friend{" +
                "friend_id=" + friend_id +
                ", friend_name='" + friend_name + '\'' +
                ", friend_sex='" + friend_sex + '\'' +
                ", user_id=" + user_id +
                ", user=" + user +
                '}';
    }
}
